package com.gongpingjialoan.data;

/**
 * Created by Administrator on 2015/12/16.
 */
public class CarListFilterData {
    public static CarListFilterData instance;

    public static CarListFilterData getInstance() {
        if (instance == null) {
            return instance = new CarListFilterData();
        }
        return instance;
    }

    private String province = "";
    private boolean isCleanData = false;
    private boolean isCanClick = true;
    private String city = "";         //城市
    private String brandSlug = "";
    private String modelSlug = "";
    private String model_detailSlug = "";
    private String brandName = "";
    private String modelName = "";
    private String model_detailName = "";
    private String price = "";       //车价
    private String year = "";   //车龄
    private String vehicle_model = "";     //车型
    private String car_type = "";      //车辆属性
    private String car_attribute = "";        //车源类型
    private String car_volume = "";     //排量
    private String control = "";      //变速箱
    private String color = "";      //颜色
    private String isCut = "0";      //只看降价车
    private String show_price = "";
    private String show_age = "";
    private String show_vehicle_model = "";
    private String show_car_type = "";
    private String show_source = "";
    private String show_speedchange = "";
    private String show_displacement = "";
    private String show_color = "";
    private String is_certify = "0";

    private String mile = "";
    private String showmile = "";

    private String show_domain = "";
    private String car_domain = "";
    private String sort = "";
    private boolean cs_clean = false;
    private boolean isCounty = false;
    private String max_price = "";

    public boolean isCounty() {
        return isCounty;
    }

    public void setIsCounty(boolean isCounty) {
        this.isCounty = isCounty;
    }

    public String getMax_price() {
        return max_price;
    }

    public void setMax_price(String max_price) {
        this.max_price = max_price;
    }

    public String getShowmile() {
        return showmile;
    }

    public void setShowmile(String showmile) {
        this.showmile = showmile;
    }

    public String getMile() {
        return mile;
    }

    public void setMile(String mile) {
        this.mile = mile;
    }

    public boolean isCs_clean() {
        return cs_clean;
    }

    public void setCs_clean(boolean cs_clean) {
        this.cs_clean = cs_clean;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getShow_domain() {
        return show_domain;
    }

    public void setShow_domain(String show_domain) {
        this.show_domain = show_domain;
    }

    public String getCar_domain() {
        return car_domain;
    }

    public void setCar_domain(String car_domain) {
        this.car_domain = car_domain;
    }

    public String getIs_certify() {
        return is_certify;
    }

    public void setIs_certify(String is_certify) {
        this.is_certify = is_certify;
    }

    public String getIsCut() {
        return isCut;
    }

    public void setIsCut(String isCut) {
        this.isCut = isCut;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public boolean isCleanData() {
        return isCleanData;
    }

    public void setIsCleanData(boolean isCleanData) {
        this.isCleanData = isCleanData;
    }

    public boolean isCanClick() {
        return isCanClick;
    }

    public void setIsCanClick(boolean isCanClick) {
        this.isCanClick = isCanClick;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getBrandSlug() {
        return brandSlug;
    }

    public void setBrandSlug(String brandSlug) {
        this.brandSlug = brandSlug;
    }

    public String getModelSlug() {
        return modelSlug;
    }

    public void setModelSlug(String modelSlug) {
        this.modelSlug = modelSlug;
    }

    public String getModel_detailSlug() {
        return model_detailSlug;
    }

    public void setModel_detailSlug(String model_detailSlug) {
        this.model_detailSlug = model_detailSlug;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModel_detailName() {
        return model_detailName;
    }

    public void setModel_detailName(String model_detailName) {
        this.model_detailName = model_detailName;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getVehicle_model() {
        return vehicle_model;
    }

    public void setVehicle_model(String vehicle_model) {
        this.vehicle_model = vehicle_model;
    }

    public String getCar_type() {
        return car_type;
    }

    public void setCar_type(String car_type) {
        this.car_type = car_type;
    }

    public String getCar_attribute() {
        return car_attribute;
    }

    public void setCar_attribute(String car_attribute) {
        this.car_attribute = car_attribute;
    }

    public String getCar_volume() {
        return car_volume;
    }

    public void setCar_volume(String car_volume) {
        this.car_volume = car_volume;
    }

    public String getControl() {
        return control;
    }

    public void setControl(String control) {
        this.control = control;
    }

    public void clear() {
        isCounty = false;
        city = "";
        brandSlug = "";
        modelSlug = "";
        model_detailSlug = "";
        brandName = "";
        modelName = "";
        model_detailName = "";
        price = "";
        year = "";
        vehicle_model = "";
        car_type = "";
        car_attribute = "";
        car_volume = "";
        control = "";
        province = "";
        show_color = "";
        show_age = "";
        show_vehicle_model = "";
        show_car_type = "";
        show_price = "";
        show_source = "";
        show_speedchange = "";
        show_displacement = "";
        show_domain = "";
        car_domain = "";
        is_certify = "0";
        isCut = "0";
        isCanClick = true;
        isCleanData = false;
        sort = "";
        cs_clean = false;
        mile ="";
        showmile = "";
    }

    public void cleanBrand() {
        brandSlug = "";
        modelSlug = "";
        model_detailSlug = "";
        brandName = "";
        modelName = "";
        model_detailName = "";
    }

    public void clearModelData() {
        vehicle_model = "";
        car_volume = "";
        car_type = "";
        control = "";
        show_vehicle_model = "";
        show_car_type = "";
        show_speedchange = "";
        show_displacement = "";
    }

    public String getShow_price() {
        return show_price;
    }

    public void setShow_price(String show_price) {
        this.show_price = show_price;
    }

    public String getShow_age() {
        return show_age;
    }

    public void setShow_age(String show_age) {
        this.show_age = show_age;
    }

    public String getShow_vehicle_model() {
        return show_vehicle_model;
    }

    public void setShow_vehicle_model(String show_vehicle_model) {
        this.show_vehicle_model = show_vehicle_model;
    }

    public String getShow_car_type() {
        return show_car_type;
    }

    public void setShow_car_type(String show_car_type) {
        this.show_car_type = show_car_type;
    }

    public String getShow_source() {
        return show_source;
    }

    public void setShow_source(String show_source) {
        this.show_source = show_source;
    }

    public String getShow_speedchange() {
        return show_speedchange;
    }

    public void setShow_speedchange(String show_speedchange) {
        this.show_speedchange = show_speedchange;
    }

    public String getShow_displacement() {
        return show_displacement;
    }

    public void setShow_displacement(String show_displacement) {
        this.show_displacement = show_displacement;
    }

    public String getShow_color() {
        return show_color;
    }

    public void setShow_color(String show_color) {
        this.show_color = show_color;
    }
}
